package com.ytclub.auth.domain.convent;

import com.ytclub.auth.domain.entity.AuthUserBO;
import com.ytclub.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用户BO转换拦截器
 *
 * @author: HuangQi
 * @date: Created in 21:23 2023/12/14
 * @description: 用户BO转化器
 */
@Mapper
public interface AuthUserBOConverter {
    AuthUserBOConverter INSTANCE = Mappers.getMapper(AuthUserBOConverter.class);

    AuthUser convertBOToEntity(AuthUserBO authUserBO);

    AuthUserBO convertEntityToBO(AuthUser authUser);


}
